<template>
	<view class="liuy-uni-content">
		<rich-text :nodes="content"></rich-text>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				content:""
			}
		},
		onLoad() {
			this.getData()
		},
		methods: {
			getData(){
				this.$get(this.$api.web.userAgreement.getByType + 1).then(res => {
					this.content = res.data.content
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.liuy-uni-content {
		/* #ifndef APP-NVUE */
		display: flex;
		flex-direction: column;
		padding: 10px;
		background: #FFF;
	}
</style>
